<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<?php echo HOST_NAME?>css/style.php" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="<?php echo HOST_NAME;?>rss.php" />
<?php if(isset($tpl_canonical)):?>
<link rel="canonical" href="<?php echo $tpl_canonical;?>" />
<?php endif?>
<?php if(isset($tpl_keyword)):?>
<meta name="keywords" content="<?php echo $tpl_keyword?>" />  
<?php endif;?>
<title><?php echo $tpl_ptitle; ?> - <?php echo $tpl_title?></title>
</head>
<body>
 <div id="main">
	<div id="logo">
	<h1><?php echo $tpl_title?></h1>
	<h2><?php echo $tpl_desc;?></h2></div>
	<div id="menubar">
	<ul id="menu">
		<li><a class="current" href="<?php echo HOST_NAME?>index.php" title="Página Principal">Inicio</a></li>
	</ul>
		<div id="search">
		<form method="post" action="<?php echo HOST_NAME?>search.php">
		<p><input class="searchfield" type="text" value="Buscar..." name="search_q" id="search_q" title="Buscar..."/>
		<input class="searchbutton" name="submit" type="submit" value="Buscar" /></p>
		</form>
		</div>
		</div>

	<div id="site_content">
		<div class="sidebar">
		<?php include('partial/sidebar.phtml');?>
		</div>
		<div id="content_container">
		<div class="rtop"><div class="r1"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div></div>
		<div id="content">
		<?php ABTemplate::content();?>
	<noscript><p>Esta página utiliza código javascript para algunas funcionalidades, por favor activelo para poder disfrutar este sitio al 100%</p></noscript>
	</div>
	<div class="rbottom"><div class="r4"></div><div class="r3"></div><div class="r2"></div><div class="r1"></div></div>
	</div>
	</div>
</div>
<div id="footer">
<p>Potenciado Por <a href="http://code.google.com/p/minimal-ablog/">ABlog</a> (Generado en <?php echo microtime(true) - $_SERVER['REQUEST_TIME'];?> segundos)
    <br /> Copyright &copy; Alberto Berroteran | <a href="http://validator.w3.org/check?uri=referer">XHTML 1.1</a> |
    <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> | <a href="http://www.dcarter.co.uk">design by dcarter</a> | <a href="<?php echo HOST_NAME;?>rss.php">(RSS)</a> | <a href="http://code.google.com/p/minimal-ablog/" title="Acerca de ABlog">Acerca de Ablog...</a></p>
</div>
<script src="<?php echo HOST_NAME;?>script/jquery.js" type="text/javascript"></script>
<script src="<?php echo HOST_NAME;?>script/main.js" type="text/javascript"></script>

</body>
</html>
